package com.jinlejia.erp.bean;

import com.jinlejia.erp.base.BeanKey;

/**
 * @author 王进 on 2019/1/16.
 */

public class UnitFloorBean implements BeanKey {
    private String unitCode;    //单元编码
    private String unitNo;      //单元号
    private String allFloor;    //总楼层数

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getUnitNo() {
        return unitNo;
    }

    public void setUnitNo(String unitNo) {
        this.unitNo = unitNo;
    }

    public String getAllFloor() {
        return allFloor;
    }

    public void setAllFloor(String allFloor) {
        this.allFloor = allFloor;
    }

    @Override
    public String toString() {
        return allFloor;
    }

    @Override
    public String key() {
        return unitCode;
    }
}
